﻿using MediatR;
using MyRabbit.Application.ErrorCode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyRabbit.Application.Command.SlaughteCommand
{
    public class SlaughteAddCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 批次
        /// </summary>

        public string ProductionBatch { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>

        public string AverageWeight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime EntryTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughteTime { get; set; }
        /// <summary>
        /// 屠宰企业Id
        /// </summary>
        public int SlaughteEnterpriseId { get; set; }
        /// <summary>
        ///添加人
        /// </summary>

        public string Creator { get; set; }
    }
}
